import express from 'express';
import Config from '../../../config/config.config';

const router = express.Router();

router.get('/', async function (Request, Response, next) {
  let query = Request.query
  Response.json({
    data: {
      status: query.appVersion === Config.appVersion ? 0 : 1,
      appVersion: Config.appVersion,
      appDownloadUrl: Config.appDownloadUrl,
      content: '2017.11.19\r\n1、新增猜你喜欢模块\r\n2、反积分逻辑修复',
    }
  })
});

module.exports = router;